<html>
<head><meta charset="utf-8"><title>Error compiling on windows (On LLVM) · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Error.20compiling.20on.20windows.20(On.20LLVM).html">Error compiling on windows (On LLVM)</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="203623424"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Error%20compiling%20on%20windows%20%28On%20LLVM%29/near/203623424" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nick12 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Error.20compiling.20on.20windows.20(On.20LLVM).html#203623424">(Jul 12 2020 at 02:14)</a>:</h4>
<p>Does anyone know why I might be getting this error when trying to build rustc?</p>
<div class="codehilite"><pre><span></span><code>C<span class="p">:</span><span class="nl">\Proyectos\rust\src\llvm-project\llvm\include\llvm/ADT/SmallVector.h(315</span><span class="c1">,32): error C2976: &#39;llvm::SmallVectorTemplate</span>
Base&#39;: too few template arguments (compiling source file C:\Proyectos\rust\src\llvm-project\llvm\lib\Target\RISCV\MCTar
getDesc\RISCVInstPrinter.cpp) [C:\Proyectos\rust\build\x86_64-pc-windows-msvc\llvm\build\lib\Target\RISCV\MCTargetDesc\
LLVMRISCVDesc.vcxproj]
C<span class="p">:</span><span class="nl">\Proyectos\rust\src\llvm-project\llvm\include\llvm/Support/type_traits.h(181</span><span class="c1">,23): error C2338: inconsistent behavior</span>
between llvm:: and std:: implementation of is_trivially_copyable (compiling source file C:\Proyectos\rust\src\llvm-proj
ect\llvm\lib\Target\RISCV\MCTargetDesc\RISCVMCTargetDesc.cpp) [C:\Proyectos\rust\build\x86_64-pc-windows-msvc\llvm\buil
d\lib\Target\RISCV\MCTargetDesc\LLVMRISCVDesc.vcxproj]
</code></pre></div>


<p>I'm thinking it might be the msvc/vs version but not sure<br>
This looks like the same problem I have &lt;<a href="https://users.rust-lang.org/t/rust-bootstrap-fails-on-windows/45162/3">https://users.rust-lang.org/t/rust-bootstrap-fails-on-windows/45162/3</a>&gt;<br>
Here's my full x.py output in case that's useful <a href="https://hatebin.com/qfhtygwqly">https://hatebin.com/qfhtygwqly</a> <a href="https://hatebin.com/qgzzmfddse">https://hatebin.com/qgzzmfddse</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>